<template>
  <div class="">
    <table>
      <thead>
        <tr>
          <th>编号</th>
          <th>图片</th>
          <th>名称</th>
          <th>标签</th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="item in data" :key="item.id">
          <slot name="main" :item="item" ></slot>
          <td>
            <my-tab-vue v-model="tempText"> </my-tab-vue>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</template>
<script >
import myTabVue from "./myTab.vue";
export default {
  data() {
    return {
      tempText: "鼠辈",
    };
  },
  props: {
    data: Array,
  },
  components: {
    myTabVue,
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style lang='less' scoped>
.pic {
  width: 45px;
  height: 25px;
}
</style>